/*
 * TSPNode.cpp
 *
 *  Created on: Jan 23, 2011
 *      Author: santiago
 */

#include "TSPNode.h"

TSPNode::TSPNode(int index, int id, double coord_x, double coord_y, bool is_stainer_node):
	_id(id), _index(index), _coord_x(coord_x), _coord_y(coord_y),
	_is_stainer_node(is_stainer_node) {

}

TSPNode::~TSPNode() {

}

int TSPNode::get_index() const {
	return _index;
}

int TSPNode::get_id() const {
	return _id;
}

double TSPNode::get_coord_x() const {
	return _coord_x;
}

double TSPNode::get_coord_y() const {
	return _coord_y;
}

bool TSPNode::is_stainer_node() const {
	return _is_stainer_node;
}
